package com.xinou.daily_report.VO.fruit;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.xinou.common.config.jackson.annotation.XoImageSerializerAnnotation;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author lizhongyuan
 */
@Data
@ContentStyle(wrapped = true)
public class FruitExcelVO {

    @ColumnWidth(20)
    @ExcelProperty(value = "部门")
    private String deptName;

    @ColumnWidth(20)
    @ExcelProperty(value = "用户姓名")
    private String userName;

    @ColumnWidth(20)
    @ExcelProperty(value = "操作人姓名")
    private String commanderName;

    @ColumnWidth(50)
    @ExcelProperty(value = "原因")
    private String reason;

    @ColumnWidth(10)
    @ExcelProperty(value = "水果基金变化(元)")
    private BigDecimal singleScore;

    @ColumnWidth(15)
    @ExcelProperty(value = "类型")
    private String fruitType;

    @ColumnWidth(15)
    @ExcelProperty(value = "待确认状态")
    private String state;

    @ColumnWidth(20)
    @ExcelProperty(value = "发生时间")
    private String insertTime;

}
